<template>
  <div>
    <h1>Page01,{{ route.params.id }}</h1>
  </div>
</template>

<script setup>
import {useRoute} from 'vue-router'
const route = useRoute()
console.log('page1提取动态路由参数',route.params);

</script>

<style lang="scss" scoped>

</style>